$OpenBSD: patch-lib_https_c,v 1.1 2017/05/05 18:22:24 jturner Exp $

Index: lib/https.c
--- lib/https.c.orig
+++ lib/https.c
@@ -353,7 +353,7 @@ _establish_connection(struct https_request * const req
 /* Provide implementations for HMAC_CTX_new and HMAC_CTX_free when
  * building for OpenSSL versions older than 1.1.0
  */
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER <= 0x20000000L
 static HMAC_CTX *
 HMAC_CTX_new(void)
 {
